package com.maxmlr.music.admin.service;

import com.maxmlr.music.admin.entity.Menu;
import com.maxmlr.music.admin.param.MenuParam;
import com.maxmlr.music.admin.param.TreeParam;
import com.maxmlr.music.common.base.BaseService;

import java.util.List;

/**
 * @author max
 * @version 1.0
 * @ClassName MenuService
 * @Description  菜单管理  服务类
 * @Copyright Copyright (c) 2020: www.maxmlr.com.
 * @since 2020-06-14
 */
public interface MenuService extends BaseService<Menu> {

    List<TreeParam<Menu>> listMenuTree(int i);

    MenuParam getMenu(Integer id);

    TreeParam<Menu> getTreeParam();

    TreeParam<Menu> getTreeParam(Long roleId);
}
